package com.example.tg.Dao;

import dto.Dto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pojo.ListPo;
import pojo.PurchaseReturn;
import pojo.Xgzt;

import java.util.List;

@Mapper
@Repository
public interface PurchaseReturnMapper {
    //增加采购退货订单
    int addPr(PurchaseReturn purchaseReturn);
    //删除采购退货订单
    int delePr(String id);

    //查询所有采购退货订单
    List listPr(ListPo listPo);
    //查询退货单总数
    int contPr();
    PurchaseReturn showPr(String code);

    int updaPr(Xgzt xgzt);
}
